Allow specifying -v multiple times
authorAlex Crichton <alex@alexcrichton.com>
Tue, 12 Apr 2016 21:55:19 +0000 (14:55 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Tue, 14 Jun 2016 14:35:40 +0000 (07:35 -0700)
commit805dfe4e7964da509ea6dbc733b40ffcca21d874
treefa1b3dd1bff77b7af47f62eba3a4a11f9d34657e
parenta30f612ed9d744d967ec9708241d93ccd0da3328
Allow specifying -v multiple times

This commit modifies the CLI interface to allow the verbose (-v) flag to be
specified multiple times. This'll be used soon to have `-vv` indicate that more
output should be generated than `-v` during a normal build.

Currently this commit changes the behavior of whether warnings are printed to
print warnings for the **entire DAG of dependencies** if `-vv` is specified.
That is, `--cap-lints` is never passed nor is any warning from build scripts if
`-vv` is specified.
30 files changed:
src/bin/bench.rs
src/bin/build.rs
src/bin/cargo.rs
src/bin/clean.rs
src/bin/doc.rs
src/bin/fetch.rs
src/bin/generate_lockfile.rs
src/bin/git_checkout.rs
src/bin/init.rs
src/bin/install.rs
src/bin/login.rs
src/bin/metadata.rs
src/bin/new.rs
src/bin/owner.rs
src/bin/package.rs
src/bin/pkgid.rs
src/bin/publish.rs
src/bin/run.rs
src/bin/rustc.rs
src/bin/rustdoc.rs
src/bin/search.rs
src/bin/test.rs
src/bin/uninstall.rs
src/bin/update.rs
src/bin/verify_project.rs
src/bin/yank.rs
src/cargo/ops/cargo_rustc/context.rs
src/cargo/util/config.rs
tests/build-script.rs
tests/registry.rs